<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<isperp:grid url="announcement/announcement/listDetail" gridId="announcementGrid"
	ondbClickRowEvent="announcementGrid.edit(rowid);"
	cusDeleteUrl="announcement/announcement/delete"
	cusEditUrl="announcement/announcement/edit"
	cusViewUrl="announcement/announcement/infoView">

	<jsp:attribute name="toolbar">
	<isperp:toolbar id="announcementToolbar">
		<isperp:button id="announcementCreate" icon="icon-plus" text="新增公告"
						cssClass="nui-mainbtn" onclick="announcementGrid.create();"></isperp:button> 
			 			
	</isperp:toolbar>
	</jsp:attribute>

	<jsp:attribute name="searchbar">
	<table class="search-table">
		<tbody>
			<tr>
				<td class="td1">编号：</td>
				<td class="td2"><input type="text" field="code" op="cn">
					</td>
				<td class="td1">标题：</td>
				<td class="td2"><input type="text" field="title" op="cn">
					</td>
				<td class="td1">分类：</td>
				<td class="td2"><input type="text" field="changeType" op="cn">
				</td>
			</tr>
			
		</tbody>
	</table>
	</jsp:attribute>
	<jsp:body>
	<isperp:column name="id" title="id" hidden="true"></isperp:column>
	 <isperp:column name="title" title="标题" width="100">
	</isperp:column>
	<%-- <isperp:column name="contents" title="内容" width="300" isFormatterFun="true" formatter="return contentFormat(cellvalue)">
	</isperp:column> --%>
	 
	<isperp:column name="create_date" title="发布日期" width="100">
	</isperp:column>
	 
	<isperp:column name="creator" title="创建人1" width="100" hidden="true">
	</isperp:column>
	 
	<isperp:column name="creator_name" title="创建人" width="100">
	</isperp:column>
	<isperp:column name="publish_date" title="publishDate" width="100" hidden="true">
	</isperp:column>
	 
	<isperp:column name="status" title="status" width="100" hidden="true">
	</isperp:column>
	</jsp:body>
</isperp:grid>
<script type="text/javascript">
function contentFormat(v)
{
  
}


</script>
